<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
<link rel="shortcut icon" type="image/x-icon" href="../assets/favicon.ico">
<title>source\jindo.RolloverArea.js - Jindo Component - AjaxUI@NHN</title>
<link rel="stylesheet" type="text/css" href="../assets/prettify/prettify-min.css" media="screen">
<script type="text/javascript">
	var isMobile = (function() {
		var r = window.devicePixelRatio || 1;
		if (/windows phone/i.test(navigator.userAgent)) { r = 2; }
		
		var s = Math.max(screen.width / r, screen.height / r);
		
		var m = s < 1024;
		var href = m ? "api.mobile.css" : "api.css";
		document.write('<link rel="stylesheet" type="text/css" href="../assets/' + href + '" media="screen">');
		
		return m;
	})();
</script>

<script type="text/javascript" src="../assets/jindo.desktop.min.js"></script>
<script type="text/javascript" src="../assets/jindo_component.min.js"></script>
</head>
<body class="api-page">
<div id="wrap" class="api-main"><!-- 2Depth 접기 : lft_fold 추가 -->

	<div id="header">
		<h1><a href="../index.html"><span class="blind">JindoJS</span></a></h1>
		<div class="info">
			<span class="version">version 1.6.0</span>
			<span class="bar">|</span>
			<span class="help"><span class="ic_help"></span><a href="http://devcode.nhncorp.com/projects/jindo-component/issue" target="_blank">버그신고/문의</a></span>
		</div>
		<div class="menu">
			<button type="button" id="toggle_search_btn" class="btn_sch"><span class="blind">검색</span></button>
			<button type="button" id="toggle_list_btn" class="btn_snb btn_snb_on"><span class="blind">메뉴</span></button>
			<!-- [D] 클릭시 btn_sch_on,btn_snb_on 추가 -->
		</div>
	</div>

	<!-- sch_frm -->
	<div class="sch_frm hide_when_small">
		<h2 class="blind">검색</h2>
		<div class="filter">
			<input type="search" id="api-filter" placeholder="검색어를 입력하세요.">
		</div>
		<div id="search-tab" style="display:none;">
			<ul class="tabs">
			<li class="tc-tab">전체</li>
			<li class="tc-tab">키워드</li>
			<li class="tc-tab">클래스</li>
			<li class="tc-tab">메서드</li>
			<li class="tc-tab">프로퍼티</li>
			<li class="tc-tab">이벤트</li>
			</ul>
			<div class="panels">
				<ul id="api-all" class="tc-panel"></ul>
				<ul id="api-keywords" class="tc-panel"></ul>
				<ul id="api-classes" class="tc-panel"></ul>
				<ul id="api-methods" class="tc-panel"></ul>
				<ul id="api-attrs" class="tc-panel"></ul>
				<ul id="api-events" class="tc-panel"></ul>
			</div>

		</div>
	</div>
	<!-- // sch_frm -->

	<!-- container -->
	<div id="container">
		<!-- left-columns -->
		<div id="left-columns" class="sidemenu has_scrollbar">
			<h2 class="blind"><a href="../index.html"><span>APIs</span></a></h2>
<div class="snb depth1 scrollbar hide_when_small">
	<!-- [D] style="width:135px; height:384px; -->
	<div class="scrollbar-box">
		<div class="scrollbar-content">
			<div><ul>
			            <li class="">
			            	<a href="../classes/jindo.Accordion.html" class="">
			                	Accordion
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.AjaxHistory.html" class="">
			                	AjaxHistory
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.BrowseButton.html" class="">
			                	BrowseButton
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Cache.html" class="">
			                	Cache
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Calendar.html" class="">
			                	Calendar
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Canvas.html" class="">
			                	Canvas
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.CheckBox.html" class="">
			                	CheckBox
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.CircularRolling.html" class="">
			                	CircularRolling
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Clipboard.html" class="">
			                	Clipboard
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Component.html" class="">
			                	Component
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DataBridge.html" class="">
			                	DataBridge
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DatePicker.html" class="">
			                	DatePicker
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DefaultTextValue.html" class="">
			                	DefaultTextValue
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Dialog.html" class="">
			                	Dialog
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DragArea.html" class="">
			                	DragArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DropArea.html" class="">
			                	DropArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.DynamicTree.html" class="">
			                	DynamicTree
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Effect.html" class="">
			                	Effect
								
								

							    
						        
						            <span class="flag static" title="static"><span class="blind">static</span></span>
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.FileUploader.html" class="">
			                	FileUploader
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.FloatingLayer.html" class="">
			                	FloatingLayer
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Foggy.html" class="">
			                	Foggy
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Formatter.html" class="">
			                	Formatter
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.HTMLComponent.html" class="">
			                	HTMLComponent
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.InlineTextEdit.html" class="">
			                	InlineTextEdit
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LayerEffect.html" class="">
			                	LayerEffect
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LayerManager.html" class="">
			                	LayerManager
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LayerPosition.html" class="">
			                	LayerPosition
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.LazyLoading.html" class="">
			                	LazyLoading
								
								

							    
						        
						            <span class="flag static" title="static"><span class="blind">static</span></span>
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.ModalDialog.html" class="">
			                	ModalDialog
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.MouseGesture.html" class="">
			                	MouseGesture
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.MultipleAjaxRequest.html" class="">
			                	MultipleAjaxRequest
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.NumberFormatter.html" class="">
			                	NumberFormatter
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.NumericStepper.html" class="">
			                	NumericStepper
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Pagination.html" class="">
			                	Pagination
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Rolling.html" class="">
			                	Rolling
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.RollingChart.html" class="">
			                	RollingChart
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.RolloverArea.html" class="">
			                	RolloverArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.RolloverClick.html" class="">
			                	RolloverClick
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.ScrollBar.html" class="">
			                	ScrollBar
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.ScrollBox.html" class="">
			                	ScrollBox
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.SelectArea.html" class="">
			                	SelectArea
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.SelectBox.html" class="">
			                	SelectBox
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Slider.html" class="">
			                	Slider
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.StarRating.html" class="">
			                	StarRating
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.TabControl.html" class="">
			                	TabControl
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.TextRange.html" class="">
			                	TextRange
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Timer.html" class="">
			                	Timer
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Transition.html" class="">
			                	Transition
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.Tree.html" class="">
			                	Tree
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.UIComponent.html" class="">
			                	UIComponent
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.UploadQueue.html" class="">
			                	UploadQueue
								
								

							    
						        
			            	</a>
			            </li>
			        
			            <li class="">
			            	<a href="../classes/jindo.WatchInput.html" class="">
			                	WatchInput
								
								

							    
						        
			            	</a>
			            </li>
			        </ul></div>
		</div>
	</div>
	<div class="scrollbar-v">
		<div class="scrollbar-button-up"></div>
		<div class="scrollbar-track">
			<div class="scrollbar-thumb" style="top: 0px; height: 222px; "></div>
		</div>
		<div class="scrollbar-button-down"></div>
	</div>
</div>


<button type="button" title="펼치기" class="btn_open">바로가기 열기<span class="ic"></span></button>
<button type="button" title="접기" class="btn_close">바로가기 닫기<span class="ic"></span></button>

		</div>
		<!-- // left-columns -->

		<!-- main content -->
		<div id="main">
			<div class="main_fix">
				<div class="content">
	
	<h1 class="blind">source/jindo.RolloverArea.js</h1>
	<div class="tc-panel first">
		<dl class="relation">
			<dt>파일명</dt>
			<dd>jindo.RolloverArea.js</dd>
			<dt>경로</dt>
			<dd>source/</dd>
		</dl>
		<div id="file" class="file">
		    <pre class="code prettyprint linenums">/**
	@fileOverview&nbsp;마우스의&nbsp;롤오버&nbsp;액션을&nbsp;커스텀&nbsp;이벤트&nbsp;핸들링으로&nbsp;쉽게&nbsp;컨트롤할&nbsp;수&nbsp;있게&nbsp;도와주는&nbsp;컴포넌트
	@version&nbsp;#__VERSION__#
**/
/**
	마우스&nbsp;이벤트에&nbsp;따라&nbsp;롤오버효과를&nbsp;쉽게&nbsp;처리할&nbsp;수&nbsp;있게&nbsp;도와주는&nbsp;컴포넌트
	RolloverArea&nbsp;컴포넌트는&nbsp;기준&nbsp;엘리먼트의&nbsp;자식들&nbsp;중&nbsp;특정&nbsp;클래스명을&nbsp;가진&nbsp;엘리먼트에&nbsp;마우스액션이&nbsp;있을&nbsp;경우&nbsp;클래스명을&nbsp;변경하는&nbsp;이벤트를&nbsp;발생시킨다.
	
	@class&nbsp;jindo.RolloverArea
	@extends&nbsp;jindo.UIComponent
	@keyword&nbsp;rolloverarea,&nbsp;area,&nbsp;롤오버에어리어
**/
jindo.RolloverArea&nbsp;=&nbsp;jindo.$Class({
	/**&nbsp;@lends&nbsp;jindo.RolloverArea.prototype&nbsp;*/
	&nbsp;&nbsp;
	/**
		RolloverArea&nbsp;컴포넌트를&nbsp;초기화한다.
		
		@constructor
		@param&nbsp;{HTMLElement}&nbsp;el&nbsp;상위&nbsp;기준&nbsp;엘리먼트.&nbsp;컴포넌트가&nbsp;적용되는&nbsp;영역(Area)이&nbsp;된다.
		@param&nbsp;{Object}&nbsp;[htOption]&nbsp;옵션&nbsp;객체
			@param&nbsp;{String}&nbsp;[htOption.sClassName=&quot;rollover&quot;]&nbsp;RolloverArea&nbsp;컴포넌트가&nbsp;적용될&nbsp;HTMLElement의&nbsp;클래스명
			@param&nbsp;{String}&nbsp;[htOption.sClassPrefix=&quot;rollover-&quot;]&nbsp;MouseOver,&nbsp;MouseDown이벤트&nbsp;발생시&nbsp;HTMLElement에&nbsp;추가될&nbsp;클래스명의&nbsp;Prefix
			@param&nbsp;{Boolean}&nbsp;[htOption.bCheckMouseDown=true]&nbsp;MouseDown,&nbsp;MouseUp&nbsp;이벤트를&nbsp;사용여부.&nbsp;(false면&nbsp;down,&nbsp;up시&nbsp;클래스가&nbsp;추가되지&nbsp;않으며,&nbsp;커스텀&nbsp;함수도&nbsp;발생하지&nbsp;않음)
			@param&nbsp;{Boolean}&nbsp;[htOption.bActivateOnload=true]&nbsp;컴포넌트&nbsp;초기화&nbsp;시점에&nbsp;컴포넌트를&nbsp;활성화(이벤트&nbsp;바인딩)&nbsp;시킬지&nbsp;여부.&nbsp;false로&nbsp;지정한경우에는&nbsp;사용자가&nbsp;직접&nbsp;activate함수를&nbsp;사용하여&nbsp;활성화시킬수&nbsp;있다.
			@param&nbsp;{Object}&nbsp;[htOption.htStatus]&nbsp;이벤트&nbsp;발생시&nbsp;추가될&nbsp;클래스명
			@param&nbsp;{String}&nbsp;[htOption.htStatus.sOver=&quot;over&quot;]&nbsp;MouseOver&nbsp;이벤트&nbsp;발생시&nbsp;추가될&nbsp;클래스명
			@param&nbsp;{String}&nbsp;[htOption.htStatus.sDown=&quot;down&quot;]&nbsp;MouseDown&nbsp;이벤트&nbsp;발생시&nbsp;추가될&nbsp;클래스명
		@example
			var&nbsp;oRolloverArea&nbsp;=&nbsp;new&nbsp;jindo.RolloverArea(document.body,{bActivateOnload:false,&nbsp;...&nbsp;});
			oRolloverArea.activate();
		@example
			var&nbsp;oRolloverArea&nbsp;=&nbsp;new&nbsp;jindo.RolloverArea(document.body,{
			sClassPrefix&nbsp;:&nbsp;&#39;rollover-&#39;,&nbsp;htStatus&nbsp;:&nbsp;{
				sOver&nbsp;:&nbsp;&quot;over&quot;,&nbsp;//&nbsp;MouseOver시&nbsp;추가되는&nbsp;클래스명&nbsp;&quot;rollover-over&quot;
				sDown&nbsp;:&nbsp;&quot;down&quot;&nbsp;//&nbsp;MouseDown시&nbsp;추가되는&nbsp;클래스명&nbsp;&quot;rollover-down&quot;
			}});
	**/
	$init&nbsp;:&nbsp;function(el,&nbsp;htOption)&nbsp;{
		this.option({&nbsp;
			sClassName&nbsp;:&nbsp;&quot;rollover&quot;,&nbsp;
			sClassPrefix&nbsp;:&nbsp;&quot;rollover-&quot;,
			bCheckMouseDown&nbsp;:&nbsp;true,
			bActivateOnload&nbsp;:&nbsp;true,
			htStatus&nbsp;:&nbsp;{
				sOver&nbsp;:&nbsp;&quot;over&quot;,
				sDown&nbsp;:&nbsp;&quot;down&quot;
			}&nbsp;
		});
		this.option(htOption&nbsp;||&nbsp;{});
		
		this._elArea&nbsp;=&nbsp;jindo.$(el);
		this._aOveredElements&nbsp;=&nbsp;[];
		this._aDownedElements&nbsp;=&nbsp;[];
		this._wfMouseOver&nbsp;=&nbsp;jindo.$Fn(this._onMouseOver,&nbsp;this);
		this._wfMouseOut&nbsp;=&nbsp;jindo.$Fn(this._onMouseOut,&nbsp;this);
		this._wfMouseDown&nbsp;=&nbsp;jindo.$Fn(this._onMouseDown,&nbsp;this);
		this._wfMouseUp&nbsp;=&nbsp;jindo.$Fn(this._onMouseUp,&nbsp;this);
		
		if&nbsp;(this.option(&quot;bActivateOnload&quot;))&nbsp;{
			this.activate();
		}
	},
	
	_addOvered&nbsp;:&nbsp;function(el)&nbsp;{
		this._aOveredElements.push(el);
	},
	
	_removeOvered&nbsp;:&nbsp;function(el)&nbsp;{
		this._aOveredElements.splice(jindo.$A(this._aOveredElements).indexOf(el),&nbsp;1);
	},
	
	_addStatus&nbsp;:&nbsp;function(el,&nbsp;sStatus)&nbsp;{
		jindo.$Element(el).addClass(this.option(&#39;sClassPrefix&#39;)&nbsp;+&nbsp;sStatus);
	},
	
	_removeStatus&nbsp;:&nbsp;function(el,&nbsp;sStatus)&nbsp;{
		jindo.$Element(el).removeClass(this.option(&#39;sClassPrefix&#39;)&nbsp;+&nbsp;sStatus);
	},
	
	_isInnerElement&nbsp;:&nbsp;function(elParent,&nbsp;elChild)&nbsp;{
		return&nbsp;elParent&nbsp;===&nbsp;elChild&nbsp;?&nbsp;true&nbsp;:&nbsp;jindo.$Element(elParent).isParentOf(elChild);
	},
	
	/**
		RolloverArea를&nbsp;활성화시킨다.
		@return&nbsp;{this}
	**/
	_onActivate&nbsp;:&nbsp;function()&nbsp;{
		jindo.$Element.prototype.preventTapHighlight&nbsp;&amp;&amp;&nbsp;jindo.$Element(this._elArea).preventTapHighlight(true);
		this._wfMouseOver.attach(this._elArea,&nbsp;&#39;mouseover&#39;);
		this._wfMouseOut.attach(this._elArea,&nbsp;&#39;mouseout&#39;);
		if&nbsp;(this.option(&quot;bCheckMouseDown&quot;))&nbsp;{
			this._wfMouseDown.attach(this._elArea,&nbsp;&#39;mousedown&#39;);
			this._wfMouseUp.attach(document,&nbsp;&#39;mouseup&#39;);
		}
	},
	
	/**
		RolloverArea를&nbsp;비활성화시킨다.
		@return&nbsp;{this}
	**/
	_onDeactivate&nbsp;:&nbsp;function()&nbsp;{
		jindo.$Element.prototype.preventTapHighlight&nbsp;&amp;&amp;&nbsp;jindo.$Element(this._elArea).preventTapHighlight(false);
		this._wfMouseOver.detach(this._elArea,&nbsp;&#39;mouseover&#39;);
		this._wfMouseOut.detach(this._elArea,&nbsp;&#39;mouseout&#39;);
		this._wfMouseDown.detach(this._elArea,&nbsp;&#39;mousedown&#39;);
		this._wfMouseUp.detach(document,&nbsp;&#39;mouseup&#39;);
		
		this._aOveredElements.length&nbsp;=&nbsp;0;
		this._aDownedElements.length&nbsp;=&nbsp;0;
	},
	
	_findRollover&nbsp;:&nbsp;function(el)&nbsp;{
		var&nbsp;sClassName&nbsp;=&nbsp;this.option(&#39;sClassName&#39;);
		return&nbsp;jindo.$$.test(el,&nbsp;&#39;.&#39;&nbsp;+&nbsp;sClassName)&nbsp;?&nbsp;el&nbsp;:&nbsp;jindo.$$.getSingle(&#39;!&nbsp;.&#39;&nbsp;+&nbsp;sClassName,&nbsp;el);
	},
	
	_onMouseOver&nbsp;:&nbsp;function(we)&nbsp;{
		var&nbsp;el&nbsp;=&nbsp;we.element,
			elRelated&nbsp;=&nbsp;we.relatedElement,
			htParam;
		
		for&nbsp;(;&nbsp;(el&nbsp;=&nbsp;this._findRollover(el));&nbsp;el&nbsp;=&nbsp;el.parentNode)&nbsp;{
			if&nbsp;(elRelated&nbsp;&amp;&amp;&nbsp;this._isInnerElement(el,&nbsp;elRelated))&nbsp;{
				continue;
			}
			
			this._addOvered(el);
				
			htParam&nbsp;=&nbsp;{&nbsp;
				element&nbsp;:&nbsp;el,
				htStatus&nbsp;:&nbsp;this.option(&quot;htStatus&quot;),
				weEvent&nbsp;:&nbsp;we
			};
			
			/**
				MouseOver&nbsp;이벤트&nbsp;발생시&nbsp;(적용된&nbsp;Element에&nbsp;마우스가&nbsp;커서가&nbsp;올라간&nbsp;경우)
				
				@event&nbsp;over
				@param&nbsp;{String}&nbsp;sType&nbsp;커스텀&nbsp;이벤트명
				@param&nbsp;{HTMLElement}&nbsp;element&nbsp;이벤트가&nbsp;발생&nbsp;Element
				@param&nbsp;{Object}&nbsp;htStatus&nbsp;htStatus&nbsp;옵션&nbsp;값
				@param&nbsp;{jindo.$Event}&nbsp;weEvent&nbsp;이벤트&nbsp;객체
				@param&nbsp;{Function}&nbsp;stop&nbsp;수행시&nbsp;클래스명이&nbsp;추가되지&nbsp;않는다.
				@example
					oRolloverArea.attach(&quot;over&quot;,&nbsp;function(oCustomEvent)&nbsp;{&nbsp;...&nbsp;});
			**/
			if&nbsp;(this.fireEvent(&#39;over&#39;,&nbsp;htParam))&nbsp;{
				this._addStatus(htParam.element,&nbsp;htParam.htStatus.sOver);
			}&nbsp;
		}
	},
	
	_onMouseOut&nbsp;:&nbsp;function(we)&nbsp;{
		var&nbsp;el&nbsp;=&nbsp;we.element,
			elRelated&nbsp;=&nbsp;we.relatedElement,
			htParam;
		
		for&nbsp;(;&nbsp;(el&nbsp;=&nbsp;this._findRollover(el));&nbsp;el&nbsp;=&nbsp;el.parentNode)&nbsp;{
			if&nbsp;(elRelated&nbsp;&amp;&amp;&nbsp;this._isInnerElement(el,&nbsp;elRelated))&nbsp;{
				continue;
			}&nbsp;
			
			this._removeOvered(el);
				
			htParam&nbsp;=&nbsp;{&nbsp;
				element&nbsp;:&nbsp;el,
				htStatus&nbsp;:&nbsp;this.option(&quot;htStatus&quot;),
				weEvent&nbsp;:&nbsp;we
			};
			
			/**
				MouseOut&nbsp;이벤트&nbsp;발생시&nbsp;(적용된&nbsp;Element에서&nbsp;마우스가&nbsp;빠져나간&nbsp;경우)
				
				@event&nbsp;out
				@param&nbsp;{String}&nbsp;sType&nbsp;커스텀&nbsp;이벤트명
				@param&nbsp;{HTMLElement}&nbsp;element&nbsp;이벤트가&nbsp;발생&nbsp;Element
				@param&nbsp;{Object}&nbsp;htStatus&nbsp;htStatus&nbsp;옵션&nbsp;값
				@param&nbsp;{jindo.$Event}&nbsp;weEvent&nbsp;이벤트&nbsp;객체
				@param&nbsp;{Function}&nbsp;stop&nbsp;수행시&nbsp;클래스명이&nbsp;제거되지&nbsp;않는다.
				@example
					oRolloverArea.attach(&quot;out&quot;,&nbsp;function(oCustomEvent)&nbsp;{&nbsp;...&nbsp;});
			**/
			if&nbsp;(this.fireEvent(&#39;out&#39;,&nbsp;htParam))&nbsp;{
				this._removeStatus(htParam.element,&nbsp;htParam.htStatus.sOver);
			}&nbsp;
		}
	},
	
	_onMouseDown&nbsp;:&nbsp;function(we)&nbsp;{
		var&nbsp;el&nbsp;=&nbsp;we.element,
			htParam;
			
		while&nbsp;((el&nbsp;=&nbsp;this._findRollover(el)))&nbsp;{
			htParam&nbsp;=&nbsp;{&nbsp;
				element&nbsp;:&nbsp;el,
				htStatus&nbsp;:&nbsp;this.option(&quot;htStatus&quot;),
				weEvent&nbsp;:&nbsp;we
			};
			this._aDownedElements.push(el);
			
			/**
				MouseDown&nbsp;이벤트&nbsp;발생시&nbsp;(적용된&nbsp;Element&nbsp;위에서&nbsp;마우스&nbsp;버튼이&nbsp;눌린&nbsp;경우&nbsp;발생)
				
				@event&nbsp;down
				@param&nbsp;{String}&nbsp;sType&nbsp;커스텀&nbsp;이벤트명
				@param&nbsp;{HTMLElement}element&nbsp;이벤트가&nbsp;발생&nbsp;Element
				@param&nbsp;{Object}&nbsp;htStatus&nbsp;htStatus&nbsp;옵션&nbsp;값
				@param&nbsp;{jindo.$Event}&nbsp;weEvent&nbsp;이벤트&nbsp;객체
				@param&nbsp;{Function}&nbsp;stop&nbsp;수행시&nbsp;클래스명이&nbsp;추가되지&nbsp;않는다
				@example
					oRolloverArea.attach(&quot;down&quot;,&nbsp;function(oCustomEvent)&nbsp;{&nbsp;...&nbsp;});
			**/
			if&nbsp;(this.fireEvent(&#39;down&#39;,&nbsp;htParam))&nbsp;{
				this._addStatus(htParam.element,&nbsp;htParam.htStatus.sDown);
			}
			
			el&nbsp;=&nbsp;el.parentNode;
		}
	},
	
	_onMouseUp&nbsp;:&nbsp;function(we)&nbsp;{
		var&nbsp;el&nbsp;=&nbsp;we.element,
			aTargetElementDatas&nbsp;=&nbsp;[],		
			aDownedElements&nbsp;=&nbsp;this._aDownedElements,
			htParam,
			elMouseDown,
			i;
		
		for&nbsp;(i&nbsp;=&nbsp;0;&nbsp;(elMouseDown&nbsp;=&nbsp;aDownedElements[i]);&nbsp;i++)&nbsp;{
			aTargetElementDatas.push({&nbsp;
				element&nbsp;:&nbsp;elMouseDown,
				htStatus&nbsp;:&nbsp;this.option(&quot;htStatus&quot;),
				weEvent&nbsp;:&nbsp;we
			});
		}
		
		for&nbsp;(;&nbsp;(el&nbsp;=&nbsp;this._findRollover(el));&nbsp;el&nbsp;=&nbsp;el.parentNode)&nbsp;{
			if&nbsp;(jindo.$A(aDownedElements).indexOf(el)&nbsp;&gt;&nbsp;-1)&nbsp;{
				continue;
			}
			
			aTargetElementDatas.push({&nbsp;
				element&nbsp;:&nbsp;el,
				htStatus&nbsp;:&nbsp;this.option(&quot;htStatus&quot;),
				weEvent&nbsp;:&nbsp;we
			});
		}
		
		for&nbsp;(i&nbsp;=&nbsp;0;&nbsp;(htParam&nbsp;=&nbsp;aTargetElementDatas[i]);&nbsp;i++)&nbsp;{
			/**
				MouseUp&nbsp;이벤트&nbsp;발생시&nbsp;(적용된&nbsp;Element에&nbsp;마우스를&nbsp;눌렀다가&nbsp;놓은경우&nbsp;발생)
				
				@event&nbsp;up
				@param&nbsp;{String}&nbsp;sType&nbsp;커스텀&nbsp;이벤트명
				@param&nbsp;{HTMLElement}&nbsp;element&nbsp;이벤트가&nbsp;발생&nbsp;Element
				@param&nbsp;{Object}&nbsp;htStatus&nbsp;htStatus&nbsp;옵션&nbsp;값
				@param&nbsp;{jindo.$Event}&nbsp;weEvent&nbsp;이벤트&nbsp;객체
				@param&nbsp;{Function}stop&nbsp;수행시&nbsp;클래스명이&nbsp;제거되지&nbsp;않는다
				@example
					oRolloverArea.attach(&quot;up&quot;,&nbsp;function(oCustomEvent)&nbsp;{&nbsp;...&nbsp;});
			**/
			if&nbsp;(this.fireEvent(&#39;up&#39;,&nbsp;htParam))&nbsp;{
				this._removeStatus(htParam.element,&nbsp;htParam.htStatus.sDown);
			}		
		}
		
		this._aDownedElements&nbsp;=&nbsp;[];
	}
}).extend(jindo.UIComponent);
</pre>
		</div>
	</div>
</div>

			</div>
		</div>
		<!-- // main content -->

	</div>
	<!-- // container -->

	<!-- footer -->
	<div id="footer">
		<p>Copyright ©<a href="http://nhncorp.com/" target="_blank">NHN Corp.</a> Platform Ajax Team. All Rights Reserved.</p>
	</div>
	<!-- // footer -->

</div>
<!-- // wrap -->

<style type="text/css">

	.item {
		transition:background .2s linear;
		-webkit-transition:background .2s linear;
		-moz-transition:background .2s linear;
		-o-transition:background .2s linear;
		-ms-transition:background .2s linear;
	}
	
	.highlight {
		background-color:#ffffd8 !important;
	}
	
	li.selected a.highlight {
		background-color:#aa8 !important;
	}
	
	.hide-deprecated .deprecated-item, .hide-inherited .inherited-item, .private {
		display:none;
	}
	
	.scrollbar-v, .scrollbar-h { display:none; }
	.scrollbar-show { display:block; }
	
	.api-page .tbl_fold .more_history { display:none; }
	
	/* FILE */
	.file pre.code {
		border:1px solid #ccc;
		padding:0;
	}
	
	.file ol {
		padding-left: 4em;
		background-color: #f9f9f9;
	}

	.file ol li {
		list-style: decimal;
		border-left:1px solid #ccc;
		padding:2px 4px;
	}
	
	.file li.L1, .file li.L3, .file li.L5, .file li.L7, .file li.L9 {
		background-color: #f9f9f9;	
	}

	.file li.L0, .file li.L2, .file li.L4, .file li.L6, .file li.L8 { 
		background-color: #f0f0f0;
	}
	
</style>
<script type="text/javascript" src="../assets/prettify/prettify-min.js"></script>
<script type="text/javascript" src="../assets/hash.js"></script>
<script type="text/javascript" src="../assets/api-list.js"></script>
<script type="text/javascript" src="../assets/api-search.js"></script>
<script type="text/javascript" src="../assets/../api.js?callback=APISearch.setData"></script>
<script type="text/javascript">
	var projectRoot = "../";
	var projectAssets = "../assets";
	
    apiDocs(projectAssets);	
</script>
</body>
</html>